<template>
  <router-view></router-view>
</template>

<script>
import { onMounted } from 'vue'

export default {
  name: 'App',
  components: {

  },
  setup() {
    onMounted(() => {
      changesize()
    })
    var changesize = () => {

      // window.onresize = function () {
      var body = document.querySelector('html')

      //   body.style.fontSize = 1000vw/375 + 'px'

      // }
      console.log(body.style.fontSize);
    }




    return { changesize }
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: calc(100vw / 37.5);
}
</style>
